import datetime

# 获取今天的日期
today = datetime.date.today()

# 创建表示1天的时间间隔
one_day = datetime.timedelta(days=1)

# 计算昨天和明天的日期
yesterday = today - one_day
tomorrow = today + one_day

# 输出结果
print("昨天:", yesterday)
print("明天:", tomorrow)